﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Windows;

namespace LAura
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        public static Settings Settings;
        public static string Root = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);

        private void ApplicationStartup(object sender, StartupEventArgs e)
        {
            Settings = new Settings();
            Settings.ReadRegistry();

        }

        private void ApplicationExit(object sender, ExitEventArgs e)
        {
            Settings.WriteRegistry();
        }
    }
}
